package com.gsbelarus.gedemin.salary.entity;

public class PayslipGeneralItem {

    public static final int NO_COLOR = 0;

    int color;
    private String name;
    private double sum;
    private String formattedDate = "";

    public PayslipGeneralItem() {
    }

    public PayslipGeneralItem(String formattedDate, String name, double sum, int color) {
        this.formattedDate = formattedDate;
        this.name = name;
        this.sum = sum;
        this.color = color;
    }

    public PayslipGeneralItem(String name, double sum, int color) {
        this.name = name;
        this.sum = sum;
        this.color = color;
    }

    // generated getters & setters

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getSum() {
        return sum;
    }

    public void setSum(double sum) {
        this.sum = sum;
    }

    public String getFormattedDate() {
        return formattedDate;
    }

    public void setFormattedDate(String formattedDate) {
        this.formattedDate = formattedDate;
    }
}
